@import 'src/style/variable';

.backButton {
  margin-bottom: 10px;
}

.heading {
  font-size: 28px;
  font-weight: bold;
  display: none;
  @media (min-width: $xsmall) {
    display: block;
    padding-bottom: 30px;
  }

  margin-top: 10px;

  @media (min-width: $small) {
    font-size: 32px;
    margin-top: 20px;
  }
}

.amountBlock {
  color: var(--property-detail-amount-text);
  padding: 25px;
  border-radius: 12px;
  background-color: var(--property-detail-amount-background);

  .propertyHeadingBlock {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    .propertyHeading {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 10px;
      font-size: 20px;
      font-weight: bold;
    }

    .amount {
      display: none;

      @media (min-width: $xsmall) {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
      }

      .value {
        font-size: 27px;
        font-weight: bold;
      }
    }
  }

  .label {
    color: var(--property-detail-amount-label);
    font-size: 12px;
  }

  .amountItem {
    @media (min-width: $xsmall) {
      display: none;
    }

    .value {
      font-size: 16px !important;
      font-weight: bold !important;
    }
  }

  .item {
    margin-top: 10px;

    .value {
      font-size: 14px;
    }
  }

  .buttons {
    margin-top: 15px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: flex-end;
  }
}

.transactionBlock {
  padding: 25px 15px;
  border-radius: 4px;
  background-color: var(--property-detail-transaction-background);
  margin-top: 15px;
  font-size: 14px;

  @media (min-width: $medium) {
    padding: 25px 40px;
  }

  .label {
    color: var(--property-detail-label);
    font-size: 14px;
  }

  .emptyImg {
    text-align: center;
  }

  .divider {
    height: 1px;
    background-color: var(--divider);
  }
}

.pagination {
  display: flex;
  flex-direction: row-reverse;
  margin-top: 15px;
}

.filter {
  display: flex;
  column-gap: 15px;
  flex-wrap: wrap;

  .type {
    margin-bottom: 15px;
  }
}
